package org.example;

import javax.swing.*;
import java.io.IOException;
import java.sql.SQLException;

public class Main {
    public static void main(String[] args) {
        try{
            JFrame frame = new ViewDBFrame();
            frame.setTitle("ViewDB");
            frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
        } catch (SQLException | IOException sqlException) {
            System.out.println(sqlException);
        }
    }
}